package com.zg.common.core.dao.scf;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zg.common.core.dao.IDao;
import com.zg.common.core.dao.scf.entity.Rule;
import com.zg.common.core.dao.scf.mapper.RuleMapper;
import org.springframework.stereotype.Component;

/**
 * <p>Description: </p>
 *
 * @author zhanfeng.liang
 * @since 2025/5/21 20:49
 */
@Component
public class RuleDao extends ServiceImpl<RuleMapper, Rule> implements IDao<Rule> {

    public Page<Rule> pageInfo(Page<Rule> page,
                               LambdaQueryWrapper<Rule> wrapper, String companyName){
        return getBaseMapper().page(page,wrapper,companyName);
    }
}
